package com.qixin.api.mapper;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.qixin.api.bean.ComUser;
import com.qixin.api.bean.pojo.WelcomCount;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author 冯政尚
 * @since 2018-10-25
 */
public interface ComUserMapper extends BaseMapper<ComUser> {
     List<ComUser> login(@Param("param") Map map);
     Integer updatepassworda(@Param("param") Map map);
     int countMyPage( @Param("map") Map map,@Param("param") ComUser comUser);
     List<ComUser>  findUserAndRole( @Param("map") Map map,@Param("param") ComUser comUser);
     WelcomCount findWelcomCount();
}